package com.salmon.study.iot;


import java.util.Optional;

public class RespondTemperature {
    private long requestId;
    private Optional<Double> value;

    public RespondTemperature(long requestId, Optional<Double> value)
    {
        this.requestId = requestId;
        this.value = value;
    }

    public long getRequestId()
    {
        return requestId;
    }

    public void setRequestId(long requestId)
    {
        this.requestId = requestId;
    }

    public Optional<Double> getValue()
    {
        return value;
    }

    public void setValue(Optional<Double> value)
    {
        this.value = value;
    }
}
